@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal"  id="orderInfoForm">

            <input type="hidden" id="id" value="${item.id}">
            <input type="hidden" id="mode" value="${item.mode}">
            <input type="hidden" id="is_transfer" value="${item.isTransfer}">
            <input type="hidden" id="pro_place_name" value="${item.province_code}">
            <input type="hidden" id="area_place_name" value="${item.area_code}">
            <input type="hidden" id="city_place_name" value="${item.city_code}">





            <div class="row">
                <div class="col-sm-6 b-r">
                    <#input id="orderNum" name="单号" value="${item.orderNum}" underline="true" readonly="readonly"/>
                    <#input id="consignee" name="收货人" value="${item.consignee}" underline="true"/>

                    <#select id="modeType" name="交货方式" underline="true">
                        <option value="0">自提</option>
                        <option value="1">配送</option>
                        <option value="2">中转</option>
                    </#select>
                    <#input id="goodsName" name="物品名称" value="${item.goodsName}" underline="true"/>
                    <#input id="goodsWeight" name="重量/T" value="${item.goodsWeight}" underline="true"/>
                    <#input id="payment" name="提付" value="${item.payment}" underline="true"/>
                    <#input id="backAmount" name="返款" value="${item.backAmount}" underline="true"/>
                    <#select id="proPlaceName" name="省份" underline="true" >
                        <option  value=''>====请选择====</option>"
                        @for(region in regionList){
                        <option value="${region.regionId}">${region.regionName}</option>
                        @}
                    </#select>

                    <#select id="cityPlaceName" name="城市" underline="true" >
                        @for(city in cityList){
                        <option value="${city.regionId}">${city.regionName}</option>
                        @}
                    </#select>

                </div>

                <div class="col-sm-6">
                    <!---->
                    <div class="input-group">

                        <div class="input-group-btn">
                            <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                                上游网点
                                <span class="caret"></span>
                            </button>
                            <ul class="dropdown-menu dropdown-menu-right" role="menu">
                            </ul>
                        </div>
                        <input type="text" class="form-control" id="sendDeptName" value="${item.sendDeptName}">
                        <!-- /btn-group -->
                    </div>
                    <div class="hr-line-dashed"></div>
                    <#input id="receivingPhone" name="收货电话" value="${item.receivingPhone}" underline="true"/>
                    <#input id="receipt" name="回单要求" value="${item.receipt}" underline="true"/>
                    <#input id="goodsPiece" name="件数" value="${item.goodsPiece}" underline="true"/>
                    <#input id="goodsVolume" name="体积/M3" value="${item.goodsVolume}" underline="true"/>
                    <#input id="collection" name="代收货款" value="${item.collection}" underline="true"/>
                    <#input id="mark" name="备注" value="${item.mark}" underline="true"/>
                    <#select id="areaPlaceName" name="区县" underline="true" >
                        @for(area in regList){
                        <option value="${area.regionId}">${area.regionName}</option>
                        @}
                    </#select>

                    <#input id="receivingAddress" name="收货地址" value="${item.receivingAddress}" underline="true"/>

                </div>

            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="TOrderInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="TOrderInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/system/tOrder/tOrder_info.js"></script>
@}
